package com.xb.loan.account.service.exception;


import com.xb.loan.log.exception.BizException;
import com.xb.loan.log.exception.IBizException;

public interface IAccountServiceException extends IBizException {
	// 按照如下方式定义本模块接口具体异常,通用异常放到IBizException中定义。
	/** 账户不存在 */
	public static BizException accountNotExsit = new BizException("1301");

	/** 账户被冻结 */
	public static BizException accountFreezed = new BizException("1302");

	/** 账户状态不正常 */
	public static BizException accountNotNormal = new BizException("1303");

	/** 金额为非正值 */
	public static BizException moneyNotPositive = new BizException("1304");
	
	/** 渠道兑奖提现，用户必须是彩民 */
	public static BizException mustBeUser = new BizException("1305");

	/** 金额不足 */
	public static BizException noEnoughMoney = new BizException("1306");

	/** 非法的记账类型 */
	public static BizException invalidBillType = new BizException("1307");
	
	/** 现金账户累计异常 */
	public static BizException statCashException = new BizException("1308");
	
	/** 非法的冲正类型 */
	public static BizException invalidFlushesType = new BizException("1309");
	
	/** 资金明细不存在*/
	public static BizException cashLogNotExsit = new BizException("1310");
	
	/** 账户余额不为零 */
    public static BizException moneyNotZero = new BizException("1311");
}
